import request from '@/utils/request'
/**
 * 左侧 菜单 获取院区用
 */
export function treeList(data) {
  return request({
    url: '/cms/iniparam',
    method: 'post',
    data: data
  })
}

/**
 * 按终端统计报表
 */
export function terminalaccount(params) {
  return request({
    url: '/cms/terminalaccount',
    method: 'post',
    data: params
  })
}
/**
 * 总账统计报表
 */
export function sumStatistic(params) {
  return request({
    url: '/cms/sumStatistic',
    method: 'post',
    data: params
  })
}

/**
 * 系统配置项
 */
export function getConfigType(params) {
  return request({
    url: '/cms/orderOptins',
    method: 'post',
    data: params
  })
}

/**
 * 业务系统
 */
export function recordScene(params) {
  return request({
    url: '/cms/recordScene',
    method: 'get',
    params: params
  })
}

/**
 * His记录
 */
export function hisRecord(params) {
  return request({
    url: '/cms/recordHis',
    method: 'get',
    params: params
  })
}

/**
 * 银行记录
 */
export function bankRecord(params) {
  return request({
    url: '/ApiAdmin/Record/bankRecord',
    method: 'get',
    params: params
  })
}

/**
 * 支付系统记录
 */
export function payRecord(params) {
  return request({
    url: '/cms/recordThree',
    method: 'get',
    params: params
  })
}

/**
 * 支付系统记录
 */
export function selfPrint(params) {
  return request({
    url: '/ApiAdmin/Record/selfPrint',
    method: 'get',
    params: params
  })
}

/**
 * 总收入统计
 */
export function generalaccount(params) {
  return request({
    url: '/cms/generalaccount',
    method: 'get',
    params: params
  })
}
/**
 * 支付方式统计
 */
export function payStyleCount(params) {
  return request({
    url: '/cms/payStyleCount',
    method: 'get',
    params: params
  })
}
/**
 * 交易类型统计
 */
export function transCount(params) {
  return request({
    url: '/cms/transCount',
    method: 'get',
    params: params
  })
}
/**
 * 圆形图数据接口
 */
export function sectorData(params) {
  return request({
    url: '/cms/sectorData',
    method: 'post',
    data: params
  })
}
/**
 * 近8天柱状折现数据
 */
export function recentData(params) {
  return request({
    url: '/cms/recentData',
    method: 'post',
    data: params
  })
}

